home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 June / ccd0605.iso / Software / Freeware / Programare / highlight / highlight-W32GUI-2.2-10b-Setup.exe / {app} / src / ASResource.h < prev    next >
C/C++ Source or Header  |  2004-02-01  |  3KB  |  70 lines

  1. /*
  2.  * Copyright (c) 1998,1999,2000,2001,2002 Tal Davidson. All rights reserved.
  3.  *
  4.  * compiler_defines.h   (1 January 1999)
  5.  * by Tal Davidson (davidsont@bigfoot.com)
  6.  * This file is a part of "Artistic Style" - an indentater and reformatter
  7.  * of C, C++, C# and Java source files.
  8.  *
  9.  * The "Artistic Style" project, including all files needed to compile it,
  10.  * is free software; you can redistribute it and/or use it and/or modify it
  11.  * under the terms of the GNU General Public License as published 
  12.  * by the Free Software Foundation; either version 2 of the License, 
  13.  * or (at your option) any later version.
  14.  *
  15.  * This program is distributed in the hope that it will be useful,
  16.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  17.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  18.  *
  19.  * You should have received a copy of the GNU General Public
  20.  * License along with this program.
  21.  */
  22.  
  23.  
  24. #ifndef ASRES_H
  25. #define ASRES_H
  26.  
  27. #include "compiler_defines.h"
  28. #include "ASStreamIterator.h"
  29.  
  30. #include <iostream>
  31. #include <fstream>
  32. #include <string>
  33.  
  34. namespace astyle {
  35.  
  36. class ASResource
  37.   {
  38.   public:
  39.     static const string AS_IF, AS_ELSE;
  40.     static const string AS_DO, AS_WHILE;
  41.     static const string AS_FOR;
  42.     static const string AS_SWITCH, AS_CASE, AS_DEFAULT;
  43.     static const string AS_TRY, AS_CATCH, AS_THROWS, AS_FINALLY;
  44.     static const string AS_PUBLIC, AS_PROTECTED, AS_PRIVATE;
  45.     static const string AS_CLASS, AS_STRUCT, AS_UNION, AS_INTERFACE, AS_NAMESPACE, AS_EXTERN;
  46.     static const string AS_STATIC;
  47.     static const string AS_CONST;
  48.     static const string AS_SYNCHRONIZED;
  49.     static const string AS_OPERATOR, AS_TEMPLATE;
  50.     static const string AS_OPEN_BRACKET, AS_CLOSE_BRACKET;
  51.     static const string AS_OPEN_LINE_COMMENT, AS_OPEN_COMMENT, AS_CLOSE_COMMENT;
  52.     static const string AS_BAR_DEFINE, AS_BAR_INCLUDE, AS_BAR_IF, AS_BAR_EL, AS_BAR_ENDIF;
  53.     static const string AS_RETURN;
  54.     static const string AS_ASSIGN, AS_PLUS_ASSIGN, AS_MINUS_ASSIGN, AS_MULT_ASSIGN;
  55.     static const string AS_DIV_ASSIGN, AS_MOD_ASSIGN, AS_XOR_ASSIGN, AS_OR_ASSIGN, AS_AND_ASSIGN;
  56.     static const string AS_GR_GR_ASSIGN, AS_LS_LS_ASSIGN, AS_GR_GR_GR_ASSIGN, AS_LS_LS_LS_ASSIGN;
  57.     static const string AS_EQUAL, AS_PLUS_PLUS, AS_MINUS_MINUS, AS_NOT_EQUAL, AS_GR_EQUAL, AS_GR_GR_GR, AS_GR_GR;
  58.     static const string AS_LS_EQUAL, AS_LS_LS_LS, AS_LS_LS, AS_ARROW, AS_AND, AS_OR;
  59.     static const string AS_COLON_COLON, AS_PAREN_PAREN, AS_BLPAREN_BLPAREN;
  60.     static const string AS_PLUS, AS_MINUS, AS_MULT, AS_DIV, AS_MOD, AS_GR, AS_LS;
  61.     static const string AS_NOT, AS_BIT_XOR, AS_BIT_OR, AS_BIT_AND, AS_BIT_NOT;
  62.     static const string AS_QUESTION, AS_COLON, AS_SEMICOLON, AS_COMMA;
  63.     static const string AS_ASM;
  64.     static const string AS_FOREACH, AS_LOCK, AS_UNSAFE, AS_FIXED;
  65.     static const string AS_GET, AS_SET, AS_ADD, AS_REMOVE;
  66.   };
  67. }
  68. #endif
  69.  
  70.